package com.mxfcode.back.mapper;


import com.mxfcode.back.dto.UserDTO;
import com.mxfcode.back.dto.UserSearchDTO;
import com.mxfcode.entity.TSUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    List<UserDTO> getUserList(UserSearchDTO userSearch);

    TSUser getUserByUserName(String userName, String id);

    int updateUser(TSUser user);

    int insert(TSUser user);

    int updateUserStatus(String id, Integer status);

    int update(TSUser user);
}